<template>
  <div class="index">
    <header class="index_header">
      <van-image width="120" height="120" :src="loginLoginSrc" />
      <h3 style="margin-top: 8px;">植物养护助手小程序</h3>
    </header>
    <main class="index_main">
        <router-view/>
    </main>
  </div>
</template>

<script setup>
import loginLoginSrc from '@/assets/login-logo.png';

</script>

<style lang="less" scoped>
.index{
  display: flex;
  flex-direction: column;
  background-color: #ffff;
  height: 100vh;
  &_header{
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    &_icon{
      font-size: 44px;
    }
  }
  &_main{
    height: calc(100vh - 120px - 60px);
  }
  &_footer{
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    color: #666666;
    font-size: 14px;
  }

}

</style>
